import shunRequest from "../request";

// 首页轮播图
export function getTopBannners() {
    return shunRequest.get({
        url: '/banner'
    })
}

// 热歌推荐
export function getHotRecommend(limit) {
    return shunRequest.get({
        url: "/personalized",
        params: {
            limit
        }
    })
}

// 新碟上架
export function getNewAlbum(limit) {
    return shunRequest.get({
        url: "/top/album",
        params:{
            limit
        }
    })
}

// 榜单
export function getRecommendRanking(id) {
 return shunRequest.get({
    url:"/playlist/detail",
    params:{
        id
    }
 })
}

// 入驻歌手
export function getArtistList() {
    return shunRequest.get({
        url:"/artist/list"
    })
}

// 热门主播
export function getTopListPopular() {
    return shunRequest.get({
        url:"/dj/toplist/popular"
    })
}